Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add empty state for Tags #24702

Merged
merged 3 commits into from
Jul 27, 2023
Merged

Conversation

hughhhh
Copy link
Member

@hughhhh hughhhh commented Jul 14, 2023

SUMMARY

Adding proper empty states for Tags

Screen Shot 2023-07-17 at 7 08 38 PM

BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF

TESTING INSTRUCTIONS

ADDITIONAL INFORMATION

  • Has associated issue:
  • Required feature flags:
  • Changes UI
  • Includes DB Migration (follow approval process in SIP-59)
    • Migration is atomic, supports rollback & is backwards-compatible
    • Confirm DB migration upgrade and downgrade tested
    • Runtime estimates and downtime expectations provided
  • Introduces new feature or API
  • Removes existing feature or API

@codecov
Copy link

codecov bot commented Jul 18, 2023

Codecov Report

Merging #24702 (81a5349) into master (165afee) will decrease coverage by 0.01%.
Report is 1 commits behind head on master.
The diff coverage is 0.00%.

❗ Current head 81a5349 differs from pull request most recent head 2850946. Consider uploading reports for the commit 2850946 to get more accurate results

@@            Coverage Diff             @@
##           master   #24702      +/-   ##
==========================================
- Coverage   68.84%   68.84%   -0.01%     
==========================================
  Files        1902     1902              
  Lines       73997    73998       +1     
  Branches     8195     8195              
==========================================
  Hits        50944    50944              
- Misses      20934    20935       +1     
  Partials     2119     2119              
Flag Coverage Δ
javascript 55.79% <0.00%> (-0.01%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

Files Changed Coverage Δ
superset-frontend/src/pages/Tags/index.tsx 0.00% <0.00%> (ø)

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@@ -43,6 +43,21 @@ import { Tag as AntdTag } from 'antd';
import { Tag } from 'src/views/CRUD/types';
import TagCard from 'src/features/tags/TagCard';

const emptyState = {
title: t('No Tags created'),
image: 'dashboard.svg',
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we have a different image to use here?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yes but this is what @kasiazjc wanted for the empty for tags

@hughhhh hughhhh merged commit e5d626c into apache:master Jul 27, 2023
26 checks passed
@hughhhh hughhhh deleted the tags-empty-state branch July 27, 2023 00:24
@mistercrunch mistercrunch added 🏷️ bot A label used by `supersetbot` to keep track of which PR where auto-tagged with release labels 🚢 3.1.0 labels Mar 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🏷️ bot A label used by `supersetbot` to keep track of which PR where auto-tagged with release labels size/S 🚢 3.1.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants